package com.xbongbong.sys.domain.dao;

import com.xbongbong.sys.domain.entity.DingTalkPayLogEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @version v1.0
 * @param: $
 * @return: $
 * @auther: youli.chen
 * @date: $ $
 * @since v1.0
 */
public interface DingTalkPayLogDao {

    Integer insert(DingTalkPayLogEntity fee);

    Integer update(DingTalkPayLogEntity fee);

    Integer deleteByKey(@Param("key") Long key);
    DingTalkPayLogEntity getByKey (@Param("key") Long key);


    List<DingTalkPayLogEntity> findEntitys(@Param("param") Map<String ,Object> param);
    Integer getEntitysCount(@Param("param")Map<String ,Object>  param);

    List<DingTalkPayLogEntity> getByType(@Param("orderType") int type);
}
